package application.client.data;

public class Address
{
	String city;
	String postCode;
	String street;	
	
	int houseNumber;	 
	int flatNumber;	
	
	/*********************************************************************/
	/*************************** Constructors ***************************/
	/*******************************************************************/
	
	public Address(String street, int houseNumber, int flatNumber, String city, String postCode){
		super(); 
		this.houseNumber = houseNumber;
		this.flatNumber = flatNumber;
		this.city = city;
		this.street = street;
		this.postCode = postCode;
	}
	
	
	/*********************************************************************/
	/********************** Getters 'n' Setters *************************/
	/*******************************************************************/
	
	public String getCity() {
		return city;
	}


	public void setCity(String city) {
		this.city = city;
	}


	public String getPostCode() {
		return postCode;
	}


	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}


	public String getStreet() {
		return street;
	}


	public void setStreet(String street) {
		this.street = street;
	}


	public int getHouseNumber() {
		return houseNumber;
	}


	public void setHouseNumber(int houseNumber) {
		this.houseNumber = houseNumber;
	}


	public int getFlatNumber() {
		return flatNumber;
	}



	public void setFlatNumber(int flatNumber) {
		this.flatNumber = flatNumber;
	}
	
	/*********************************************************************/
	/**************************    Methods    ***************************/
	/*******************************************************************/
	
	public String toString() {
		return "Address: ul. " + street + " " + houseNumber
				+ "/" + flatNumber + " "
				+ postCode + " " + city;
	}
			 

}
